﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Newtonsoft.Json;

namespace Business.Common
{
    /// <summary>
    /// Easyui实体
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public class EasyuiModel<T> where T : class
    {
        /// <summary>
        /// 总行数
        /// </summary>
        [JsonProperty("total")]
        public int Total { get; set; }
        /// <summary>
        /// 行数据
        /// </summary>
        [JsonProperty("rows")]
        public List<T> Rows { get; set; }
    }
}
